package qs.gwtmaven.sample.server;

import com.google.gwt.user.server.rpc.RemoteServiceServlet;
import qs.gwtmaven.sample.client.GreetingsService;

public class GreetingsServiceImpl extends RemoteServiceServlet implements GreetingsService {
    public String greetMe(String name) {
        if (name == null) {
            return "Can't return to someone without name!";
        }
        return "Hello "+name;
    }
}
